package ${package_pojo};
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
// 建议查看生成的xml内部的select${Table}By${Table}和select${Table}ByCustom查询就知道这些属性怎么使用了
public class Condition implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "列",required = false)
    private  String column;
    @ApiModelProperty(value = "查询条",required = false)
    private  String where;
    @ApiModelProperty(value = "排序字段  多个字段逗号分隔 结尾加(DESC或者 ASC)",required = false)
    private String order;
    @ApiModelProperty(value = "分页起始位置",required = false)
    private Long startRow;
    @ApiModelProperty(value = "每页多少条",required = false)
    private Long rowSize;
    @ApiModelProperty(value = "分组",required = false)
    private  String group;
    @ApiModelProperty(value = "分组后的查询条件",required = false)
    private  String having;
    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getWhere() {
        return where;
    }

    public void setWhere(String where) {
        this.where = where;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public Long getStartRow() {
        return startRow;
    }

    public void setStartRow(Long startRow) {
        this.startRow = startRow;
    }

    public Long getRowSize() {
        return rowSize;
    }

    public void setRowSize(Long rowSize) {
        this.rowSize = rowSize;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getHaving() {
        return having;
    }

    public void setHaving(String having) {
        this.having = having;
    }
}
